package com.jhnote.dao;

import com.jhnote.pojo.Blog;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface BlogMapper {

    List<Blog> getBlogs();
    List<Blog> getBlogsByMap(HashMap<String, Object> map);
    List<Blog> getBlogsByChoose(HashMap<String, Object> map);
    List<Blog> getBlogsForeach(Map<String, List<String>> map);


    int updateBlog(HashMap<String, Object> hashMap);
}
